* {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 1200px;
    font-family: "Hiragino Sans GB", "Century Gothic", system, Verdana, Tahoma, Microsoft YaHei, Arial;
    font-size: 14px;
}

a {
    text-decoration: none;
    background-color: transparent;
}

i, em {
    font-style: normal;
}

img {
    border: 0;
}

ul, li {
    list-style: none;
}

input {
    font-family: "Microsoft YaHei";
}

.ms-controller {
    visibility: hidden
}

/*清除浮动*/
.fn-clear:after {
    display: block;
    visibility: hidden;
    clear: both;
    overflow: hidden;
    height: 0;
    content: '.';
}

.fn-clear {
    zoom: 1;
}

/* 左右浮动 */
.fn-left {
    float: left;
}

.fn-right {
    float: right;
}

/* 定位 */
.fn-rel {
    position: relative;
}

.fn-abs {
    position: absolute;
}

/* 显示块*/
.fn-hide {
    display: none;
}

.fn-dib {
    display: inline-block;
}

.fn-db {
    display: inline-block;
}

.fn-vam {
    vertical-align: middle
}

.fn-vab {
    vertical-align: bottom
}

.fn-cp {
    cursor: pointer
}

/* 容器 */
.container {
    width: 1200px;
    margin: 0 auto;
}

.bg-f5 {
    background-color: #f5f5f5;
}

.bgh {
    background: #f5f5f5;
}

.bgf {
    background: #fff;
}

/* 行高 */
.fn-lh32 {
    line-height: 32px
}

.fn-lh24 {
    line-height: 24px
}

/* 长宽 */
.h25 {
    height: 25px;
}

/* 字体大小 */
.fs12 {
    font-size: 12px;
}

.fs14 {
    font-size: 14px;
}

.fs16 {
    font-size: 16px;
}

.fs18 {
    font-size: 18px;
}

.fs20 {
    font-size: 20px;
}

.fs22 {
    font-size: 22px;
}

.fn-tac {
    text-align: center;
}

/* 字体颜色 */
.fn-c000 {
    color: #000;
}

.fn-c333 {
    color: #333;
}

.fn-c666 {
    color: #666;
}

.fn-c999 {
    color: #999;
}

.fn-c997 {
    color: #997a3c;
}

.red {
    color: #c4151c;
}

/*  border */
@pubBorder: 1px solid #ededed;

/* 面包屑icon */
.breadNav {
    height: 55px;
    line-height: 60px;
    color: #333;
    font-size: 14px;
    text-indent: 30px;
    background: url("../../img/header/home-icon.png") no-repeat 5px center;
}

/* margin */
.mt10 {
    margin-top: 10px;
}

.mt15 {
    margin-top: 15px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.mt50 {
    margin-top: 40px;
}

.mt25 {
    margin-top: 25px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 30px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.ml20 {
    margin-left: 20px;
}

.ml85 {
    margin-left: 85px;
}

.ml30 {
    margin-left: 30px;
}

.ml35 {
    margin-left: 35px;
}

.ml50 {
    margin-left: 50px;
}

.ml100 {
    margin-left: 100px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mr20 {
    margin-right: 20px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mt40 {
    margin-bottom: 40px;
}

/* padding */
.pt10 {
    padding-top: 10px;
}

.pl10 {
    padding-left: 10px;
}

.p20 {
    padding: 20px;
}

/* 宽度 */
.w100 {
    width: 100px;
}

.w_100 {
    width: 100%;
}

.w220 {
    width: 240px;
}

.w200 {
    width: 200px;
}

.w140 {
    width: 140px;
}

.w245 {
    width: 245px;
}

.w300 {
    width: 300px;
}

.w400 {
    width: 400px;
}

.w500 {
    width: 500px;
}

.w650 {
    width: 650px;
}

.w700 {
    width: 700px;
}

/* 去除number箭头 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* 翻页 */
.pub-page {
    width: 100%;
    margin: 25px 0;
    text-align: right;
    a, span {
        display: inline-block;
        font-size: 14px;
        width: 25px;
        height: 25px;
        line-height: 25px;
        text-align: center;
        border-radius: 12.5px;
        background: #fff;
        color: #333;
        &.active {
            background: #cd383e;
            color: #fff;
            &:hover {
                color: #fff;
            }
        }
        &.nextpage, &.prepage {
            width: auto;
            margin-left: 10px;
        }
        &.prepage {
            margin-right: 10px;
        }
        &:hover {
            color: #cd383e;
        }
    }
}

.makePage {
    overflow: hidden;
    height: 40px;
    margin-top: 25px;
    padding-bottom: 70px;
    .leftBtn, .rightBtn {
        float: left;
        width: 25px;
        height: 35px;
        border: 1px solid #ededed;
        cursor: pointer;
        background: #fff url("../../img/header/arrows-left.png") center no-repeat;
    }
    .rightBtn {
        background: #fff url("../../img/header/arrows-right.png") center no-repeat;
    }
    ul {
        min-width: 45px;
        li {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            text-align: center;
            float: left;
            margin-top: 6px;
            margin-left: 10px;
            cursor: pointer;
            line-height: 25px;
            font-family: Tahoma;
            &.active {
                background-color: #cd383e;
                color: #fff;
            }
        }
    }
    .pageInput {
        width: 50px;
        height: 33px;
        border: 1px solid #ededed;
        margin-left: 10px;
        margin-right: 10px;
        text-align: center;
        font-size: 16px;

    }
    .pageBtn {
        display: inline-block;
        width: 80px;
        height: 35px;
        text-align: center;
        line-height: 35px;
        color: #fff;
        background-color: #cd383e;
        border-radius: 3px;
        margin-left: 25px;
        cursor: pointer;
    }
}

.border-top2 {
    border-top: 2px #f2f2f2 solid;
    padding-top: 25px;
}

/* 用户中心left */
.content {
    .main {
        width: 1030px;
        float: right;
        h2.right-tit {
            font-size: 14px;
            color: #333;
            line-height: 48px;
            height: 48px;
            font-weight: normal;
        }
    }
}

/* 用户中心通用列表 */
.main-tabbox {
    background: #fff;
    min-height: 650px;
    .search-box {
        padding: 20px;
        label, input, select {
            float: left;
            font-size: 14px;
            color: #333;
        }
        label {
            line-height: 32px;
            height: 32px;
        }
        input, select {
            height: 30px;
            line-height: 30px;
            padding: 0 5px;
            margin-left: 10px;
            border: 1px #ebebeb solid;
        }
        .red-btn {
            height: 32px;
            line-height: 32px;
            color: #fff;
            border-radius: 3px;
            background: #c4151c;
            border: 0;
            padding: 0 20px;
        }
        a.border-btn {
            display: inline-block;
            height: 30px;
            line-height: 30px;
            padding: 0 15px;
            border-radius: 3px;
            font-size: 14px;
            color: #333;
            margin-left: 10px;
            border: 1px #e8e8e8 solid;
            &:hover {
                color: #c4151c;
                border-color: #c4151c;
            }
        }
        .product-attr {
            margin-top: 15px;
            div {
                margin-right: 15px;
                float: left;
            }
        }
    }
    .tableBox {
        padding: 0 5px;
    }
}

.minh400 {
    min-height: 400px;
}

.main-table {
    width: 100%;
    th {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        background: #f6f6f6;
        font-weight: normal;
        text-align: center;
    }
    td {
        height: 36px;
        line-height: 18px;
        font-size: 12px;
        color: #333;
        text-align: center;
        a {
            display: inline-block;
            color: #0099FF;
            margin: 0 5px;
            &:hover {
                color: #c4151c;
            }
        }
    }
    input {
        height: 34px;
        line-height: 34px;
        border: 1px #fff solid;
        margin: 0 4px;
        &.w100 {
            width: 100px;
        }
        &.w20 {
            width: 50px;
        }
    }
    input.border {
        border-color: #e8e8e8;
    }
}

.pubLabel label {
    width: 105px;
    display: inline-block;
    text-align: right;
}

/*年份月份时间控件*/
.yearsTime {
    position: absolute;
    z-index: 1111111;
    margin: 0 auto;
    padding: 0 5px;
    text-align: center;
    color: #fff;
    background: #c4151c;
}

#yearsTimeYY input {
    font-size: 14px;
    font-weight: bold;
    width: 80%;
    cursor: pointer;
    text-align: center;
    color: #c4151c;
    border: none;
    outline: 0;
}

#yearsTimeYY .yearsTimePrev {
    display: none;
    position: absolute;
    top: 0;
    left: 10px;
    width: 0;
    height: 0;
    margin: 10px 10px 0 0;
    cursor: pointer;
    border-width: 5px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #fff transparent transparent;
}

#yearsTimeYY .yearsTimeNext {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    margin: 10px 10px 0 0;
    cursor: pointer;
    border-width: 5px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #fff;
}

#yearsTimeYY > input {
    display: none;
}

#yearsTimeMM {
    display: none;
}

#yearsTimeMM ul li {
    width: 30px;
    padding: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
}

#yearsTimeMM ul li:hover, #yearsTimeYYLi ul li:hover {
    background: #ae1219;
}

#yearsTimeMM ul li.on, #yearsTimeYYLi ul li.on {
    background: #9d1117;
}

#yearsTimeYYLi {
    position: absolute;
    z-index: 111;
    right: 0;
    left: 8px;
    width: 161px;
    margin: 0 auto;
    border: solid 2px #c4151c;
    background: #c4151c;
}

#yearsTimeYYLi ul {
    width: 161px;
    margin: 0 auto;
}

#yearsTimeYYLi ul li {
    width: 50%;
    padding: 5px 0;
    font-size: 14px;
    cursor: pointer;
}

#yearsTimeYYLi .yearsLiTimePrev {
    position: absolute;
    bottom: 75px;
    left: 0;
    width: 0;
    height: 0;
    margin: 10px 10px 0 0;
    cursor: pointer;
    border-width: 5px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #fff transparent transparent;
}

#yearsTimeYYLi .yearsLiTimeNext {
    position: absolute;
    right: -10px;
    bottom: 75px;
    width: 0;
    height: 0;
    margin: 10px 10px 0 0;
    cursor: pointer;
    border-width: 5px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #fff;
}

.yearsTime .cannot {
    color: #9e9e9e;
}

.laydate-icon {
    background: url("../../img/common/icon.png") right center no-repeat;
}

//按钮
.red-btn {
    display: inline-block;
    height: 26px;
    line-height: 26px;
    color: #fff;
    border-radius: 3px;
    background: #c4151c;
    padding: 0 10px;
}

.red-btn-big {
    display: inline-block;
    height: 36px;
    line-height: 36px;
    color: #fff;
    border-radius: 3px;
    background: #c4151c;
    padding: 0 20px;
}

.hui-btn-big {
    display: inline-block;
    height: 36px;
    line-height: 36px;
    color: #fff;
    border-radius: 3px;
    background: #999;
    padding: 0 20px;
}

.listsearchBtn {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    color: #666;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    &:hover, .active {
        background: #9e928f;
        color: #fff;
    }
}

//标题
.pubh2 {
    display: inline-block;
    font-size: 16px;
    color: #333;
    padding-left: 15px;
    height: 16px;
    line-height: 16px;
    border-left: 4px #d70b2d solid;
}

.pub-textarea {
    width: 70%;
    padding: 10px !important;
    line-height: 24px;
    height: 96px;
    font-family: 'Microsoft YaHei';
    border: 1px #e8e8e8 solid;
}

.pubSelectUl {
    width: 200px;
    height: 210px;
    border: 1px #e8e8e8 solid;
    overflow-y: auto;
    li {
        padding: 0 10px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
        cursor: pointer;
        &:hover {
            background: #c4151c;
            color: #fff;
        }
        &.active {
            color: #c4151c;
            font-weight: bold;
            &:hover {
                background: none;
            }
        }
    }
}

//发票
.formArea {
    padding-top: 10px;
    overflow-y: auto;
    dl {
        width: 100%;
        margin-bottom: 15px;
        overflow: hidden;
        &.typeText {
        }
        &.typeSelect {
        }
        &.typeArea {

        }
        dt {
            width: 20%;
            float: left;
            text-align: right;
            font-size: 14px;
            line-height: 30px;
            color: #000000;
            min-height: 30px;
            span, label {
                display: inline-block;
            }
        }
        dd {
            margin-left: 2%;
            width: 58%;
            float: left;
            text-align: left;
            line-height: 30px;
            font-size: 14px;
            color: #333;
            overflow: hidden;
            position: relative;
            min-height: 30px;
            .district-css {

                line-height: 26px !important;
                line-height: 26px \9;
            }
            label {
                line-height: 30px;
                position: relative;
            }
        }
    }
    .input {
        height: 15px;
        padding: 1.4%;
        border: 1px solid #ccc;
        &.max {
            width: 95.7%;
        }
    }
    .select {
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
        color: #555555;
        display: block;
        font-size: 14px;
        height: 30px;
        line-height: 1.42857;
        padding: 6px 12px;
        transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
        width: 100%;
    }
    .select-chain {
        width: 47.5%;
        float: left;
    }
    .checkbox {
        position: relative;
        top: 3px;
        width: 20px;
        height: 20px;
        display: inline-block;
    }
    .textarea {
        border: 1px solid #ccc;
        padding: 2%;
        &.max {
            width: 95.5%;
        }
    }
    .select2-container--default .select2-selection--single {
        border-radius: 0;
        border-color: #ccc;
    }
    .required {
        color: #000000;

    }
    .error-tip {
        color: #ff0000;
    }
}

//错误成功样式
.m-error-con {
    border-color: #d43434 !important;
    box-shadow: 0px 0px 4px #e83838;
}

.m-success-con {
    border-color: #35b558 !important;
    box-shadow: 0px 0px 4px #51cc73;
}

label.error {
    color: #e83838;
}
